package be.rubengerits.android.car.dashboard.notifications;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import android.widget.TextView;

/* Example layout:
 *  _____________________________
 * |  _______                    |
 * | |       | Lorem ipsum dolor |
 * | |       | sit amet,         |
 * | |       | consectetur       |
 * | |_______| adipiscing elit.  |
 * |_____________________________| 
 * 
 */
public class NotificationView extends LinearLayout {

	public NotificationView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public NotificationView(Context context, AttributeSet attrs, Overlay overlay) {
		super(context, attrs);

		constructLayout(overlay);
	}

	private void constructLayout(Overlay overlay) {
		TextView text = new TextView(getContext());
		text.setText("test");
		this.addView(text);
	}

}
